<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
    <!-- Libs CSS -->
    <link rel="stylesheet" href="{{asset('org/Dashkit-1.2.0')}}/fonts/feather/feather.min.css">
    <link rel="stylesheet" href="{{asset('org/Dashkit-1.2.0')}}/libs/highlight/styles/vs2015.min.css">
    <link rel="stylesheet" href="{{asset('org/Dashkit-1.2.0')}}/libs/quill/dist/quill.core.css">
    <link rel="stylesheet" href="{{asset('org/Dashkit-1.2.0')}}/libs/select2/dist/css/select2.min.css">
    <link rel="stylesheet" href="{{asset('org/Dashkit-1.2.0')}}/libs/flatpickr/dist/flatpickr.min.css">
    <!-- Theme CSS -->
    <link rel="stylesheet" href="{{asset('org/Dashkit-1.2.0')}}/css/theme.min.css">
    <title>Dashkit</title>
    @include('layouts._hdjs')
    @include('layouts._message2')
</head>
<body class="d-flex align-items-center bg-white border-top-2 border-primary">

<!-- CONTENT
================================================== -->
<div class="container">
    <div class="row justify-content-center">
        <div class="col-12 col-md-5 col-xl-4 my-5">

            <!-- Heading -->
            <h1 class="display-4 text-center mb-3">
                laravel-CMS(道行)
            </h1>

            <!-- Subheading -->
            <p class="text-muted text-center mb-5">
                欢迎进入laravel的世界
            </p>

            <!-- Form -->
            <form method="post" action="{{route('login')}}">
            @csrf
            <!-- Email address -->
                <div class="form-group">

                    <!-- Label -->
                    <label>登陆邮箱</label>

                    <!-- Input -->
                    <input type="email" name="email" class="form-control">

                </div>

                <!-- Password -->
                <div class="form-group">

                    <div class="row">
                        <div class="col">
                            <!-- Label -->
                            <label>密码</label>
                        </div>
                        <div class="col-auto">

                            <!-- Help text -->
                            <a href="{{route('user.resetpassword')}}" class="form-text small text-muted">
                                忘记密码?
                            </a>

                        </div>
                    </div> <!-- / .row -->

                    <!-- Input group -->
                    <div class="input-group input-group-merge">

                        <!-- Input -->
                        <input type="password" id="mima" name="password" class="form-control form-control-appended">

                        <!-- Icon -->
                        <div class="input-group-append">
                  <span class="input-group-text">
                    <i class="fe fe-eye" onclick="show()"></i>
                  </span>
                        </div>

                    </div>
                </div>

                <!-- Submit -->
                <button class="btn btn-lg btn-block btn-primary mb-3">
                    登陆
                </button>

                <!-- Link -->
                <div class="text-center">
                    <small class="text-muted text-center">
                        如果没有账号 <a href="{{route('register')}}">欢迎注册</a>.
                    </small>
                </div>

            </form>

        </div>
    </div> <!-- / .row -->
</div> <!-- / .container -->

<!-- JAVASCRIPT
================================================== -->
<script>
    function show(obj) {
        // alert('add');
        $('#mima').attr('type','input');
    }
</script>

</body>
</html>